package com.igeek.collateral.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.collateral.entity.Collateral;
import com.igeek.collateral.vo.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 押品资产信息 服务类
 * </p>
 *
 * @author author
 * @since 2024-07-04
 */
public interface ICollateralService extends IService<Collateral> {

    Page<Collateral> findPage(PageQueryVO vo);

    boolean delete(Long id);

    boolean deleteAll(Integer id);


    List<PieVO> getPieMess();

    ZheVo getZheMess();

    String uploadByQiniuyun(MultipartFile imgFile) throws IOException;

    Page<Collateral> findPageAss(PageQueryVO vo);

    Page<Collateral> findPageQ(PageQueryVO vo);

    boolean updateS(Collateral co);

    boolean updateDS(Collateral co);

    ColumnVo getColumnMess();

    HistoryMessVo getHMess(Long id);

    InOutAllNumVo getTopMess();

}
